/**
 * @project lauwsys
 */
package com.chimoz.lauwsys.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Christian Teguh
 * @created 27 Sep 2011 23.13.31
 */
public class AgentDebt implements Serializable {

	private Long id;
	private Date date;
	private BigDecimal amount;
	private Integer ctime;
	private Integer mtime;
	
	private Agent agent;
	// TODO receipt
	
	public AgentDebt() {}

	public AgentDebt(Long id) {
		this.id = id;
	}

	public AgentDebt(Date date, BigDecimal amount, Integer ctime,
			Integer mtime, Agent agent) {
		this.date = date;
		this.amount = amount;
		this.ctime = ctime;
		this.mtime = mtime;
		this.agent = agent;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Integer getCtime() {
		return ctime;
	}

	public void setCtime(Integer ctime) {
		this.ctime = ctime;
	}

	public Integer getMtime() {
		return mtime;
	}

	public void setMtime(Integer mtime) {
		this.mtime = mtime;
	}

	public Agent getAgent() {
		return agent;
	}

	public void setAgent(Agent agent) {
		this.agent = agent;
	}

	
}
